package com.dly.hope.repository;

import com.dly.hope.modle.Role;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author linyu.dai
 * @project myserve
 * @description
 * @creat 2022/11/1 13:44:21
 */
public interface RoleRepository extends JpaRepository<Role, String> {

    List<Role> findAllByAndDataStatus(Integer dataStatus);
}
